/**
 * 文件名称:StorageServiceImpl.java
 * 文件版权:ChinaParasol Technologies Co., Ltd. Copyright 1998-2020, All rights reserved
 * 文件描述:<描述>
 * 修改作者:LiXiangDong
 * 修改时间:Jan 8, 2013
 */
package com.parasol.hcerp.service.storage.service.impl;

import java.util.List;

import com.parasol.hcerp.service.storage.dao.StorageDao;
import com.parasol.hcerp.service.storage.domain.StorageBean;
import com.parasol.hcerp.service.storage.domain.StorageParameBean;
import com.parasol.hcerp.service.storage.domain.StorageShowBean;
import com.parasol.hcerp.service.storage.service.StorageService;

/**
 * 
 * @author  LiXiangDong
 * @version V1.0
 */
public class StorageServiceImpl implements StorageService
{
    
    private StorageDao storageDao = null;
    
    public StorageDao getStorageDao()
    {
        return storageDao;
    }

    public void setStorageDao(StorageDao storageDao)
    {
        this.storageDao = storageDao;
    }

    public void deleteForStorage(String storageid)
    {
        storageDao.deleteForStorage(storageid);
    }
    
    public StorageShowBean queryForStorage(String storageid)
    {
        return storageDao.queryForStorage(storageid);
    }
    
    public int queryForStorageExist(StorageBean storageBean)
    {
        return storageDao.queryForStorageExist(storageBean);
    }
    
    public List<StorageShowBean> queryForStorageList(StorageParameBean storageParameBean)
    {
        return storageDao.queryForStorageList(storageParameBean);
    }
    
    public void saveForStorage(StorageBean storageBean)
    {
        storageDao.saveForStorage(storageBean);
    }
    
    public void updateForStorage(StorageBean storageBean)
    {
        storageDao.updateForStorage(storageBean);
    }

    public StorageBean queryForSpecificationsid(String storageid)
    {
        return storageDao.queryForSpecificationsid(storageid);
    }

    public int queryForStorageListCount(StorageParameBean storageParameBean)
    {
        return storageDao.queryForStorageListCount(storageParameBean);
    }
    
}
